package com.leyou.item.service;

import com.leyou.common.utils.PageResult;
import com.leyou.item.pojo.Brand;

import java.util.List;

public interface BrandService {
    public PageResult<Brand> findBrandByPageAndSort(Integer page, Integer rows, String sortBy, Boolean desc, String key) ;

    void savebarnd(Brand brand, List<Long> cids);

    int updatebarnd(Brand brand, List<Long> cids);

    List<Brand> findBrandByCid(Long cid);

    List<Brand> queryBrandByIds(List<Long> ids);

    Brand queryBrandByBid(Long bid);

    String queryBrandNameByBid(Long bid);


    int deleteBrand(Long bid);

    int updateBrand(Brand brand);
}
